@import './main.scss';

.plist-wrap {
    height: auto;
    position: relative;
    z-index: 1;
    background-color: #F6F6F6;
    overflow: hidden;
}

.plist {
    margin-top: 10px;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: white;
    box-shadow: 0 0 3px 3px #cecece;

    mark,
    li {
        width: 240px;
        height: 474px;
        position: relative;
        z-index: 1;
        margin: 10px 10px 0;
        background-color: white;


    }

    li {
        &:hover {
            border-color: #e9e9e9;
            box-shadow: 0 0 5px 5px #cecece;
        }
    }
}

.gl-i-wrap {
    width: 220px;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    background: #fff;
    border: 1px solid #fff;
    padding: 38px 9px 10px;
    transition: border-color .1s ease;

    .p-img {
        height: 220px;
        padding: 0;
        margin-bottom: 15px;
        position: relative;

        a {
            display: block;
            position: relative;
            overflow: hidden;
        }


    }

    .p-price {
        position: relative;
        line-height: 22px;
        height: 22px;
        overflow: hidden;
        width: 100%;
        margin: 0 0 8px;

        strong {
            float: left;
            margin-right: 10px;
            color: #e4393c;
            font-size: 20px;
            font-weight: 400;
            font-family: Verdana;

            em {
                font-size: 16px;
            }
        }

        .price-plus-1 {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 102px;
            display: inline-block;
            height: 16px;
            font-size: 0;
            font-family: Verdana;
            color: #333;

            em,
            i {
                display: inline-block;
                vertical-align: top;
            }

            em {
                height: 16px;
                line-height: 16px;
                margin-right: 2px;
                font-size: 12px;
            }

            i {
                width: 39px;
                height: 12px;
                margin-top: 2px;
                overflow: hidden;
                background: url(../img/bg-price@1x.png) no-repeat 0 -40px;
            }

            &.hide {
                display: none;
            }
        }
    }

    .p-name {
        height: 40px;
        margin-bottom: 8px;
        overflow: hidden;

        em,
        i {
            height: 20px;
            line-height: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: height .08s ease;
        }

        i {
            font-style: normal;
            width: 185px;
            color: #ffaa71;
            line-height: 20px;
        }

        .p-tag,
        .p-tag2 {
            float: left;
            height: 16px;
            padding: 0 3px;
            margin-top: 2px;
            margin-right: 3px;
            overflow: hidden;
            color: #fff;
            font: 12px/16px "Helvetica Neue", "Hiragino Sans GB", SimSun, serif;
            background: #838dc7;
            border-radius: 2px;
        }
    }

    .p-commit {
        width: 100%;
        height: 18px;
        margin-top: -3px;
        margin-bottom: 9px;
        overflow: hidden;
        cursor: pointer;

        strong {
            color: #a7a7a7;
            font-weight: 400;

            a {
                color: #646fb0;
                font-family: verdana;
                font-weight: 700;
            }
        }
    }

    .p-shop {
        line-height: 18px;
        height: 18px;
        overflow: hidden;
        margin-top: -3px;
        margin-bottom: 9px;

        span {
            display: inline-block;
            position: relative;
            height: 18px;
        }

        .hd-shopname {
            display: inline-block;
            max-width: 122px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .im-02 {
            background: url(../img/im-02.png) no-repeat;
            cursor: pointer;
            position: absolute;
            right: -21px;
            top: 1px;
            display: block;
        }
    }

    .p-icons {
        overflow: hidden;
        zoom: 1;
        height: 17px;
        margin-bottom: 12px;

        i {
            cursor: pointer;
        }
    }

    .p-operate {
        overflow: hidden;
        zoom: 1;
        margin-bottom: 10px;


        .p-o-btn {
            float: left;
            height: 25px;
            line-height: 25px;
            border: 1px solid #DDD;
            padding: 0 3px 0 24px;
            position: relative;
            background: #fff;
            color: #999;

            &:hover {
                color: #e4393c;
                z-index: 1;
                border-color: #e4393c;
                text-decoration: none;
            }
        }

        i {
            position: absolute;
            display: block;
            font-style: normal;
            left: 4px;
            top: 3px;
            width: 18px;
            height: 18px;
            background: url(../img/search.ele.png) no-repeat 9999px 9999px;
            transition: background-position .15s ease-in-out;

        }

        .contrast {
            width: 28px;

            i {


                left: 5px;
                top: 5px;
                height: 12px;
                width: 12px;
                background-color: #fff;
                border: 1px solid #ccc;
                font-size: 0;
            }
        }



        .focus {
            width: 28px;

            i {
                background-position: 0 -413px;
            }
        }

        .addcart {
            width: 67px;
            text-align: center;
            color: #e4393c;
            margin-left: -1px;

            i,
            &:hover i {
                background-position: 0 -272px;
            }
        }
    }
}

.picon {
    position: absolute;
    width: 51px;
    height: 50px;
    top: 12px;
    right: 7px;
    background: url(../img/double12.png) no-repeat 0 0;
}

.goods-icons,
.goods-icons2,
.goods-icons3 {
    float: left;
    height: 16px;
    line-height: 16px;
    padding: 0 3px;
    margin-right: 3px;
    overflow: hidden;
    text-align: center;
    font-style: normal;
    font-size: 12px;
    font-family: "Helvetica Neue", "Hiragino Sans GB", SimSun, serif;
    background: #e23a3a;
    color: #FFF;
    cursor: default;
    border-radius: 2px;
}

.goods-icons4,
.goods-icons5 {
    float: left;
    height: 14px;
    line-height: 14px;
    line-height: 16px\0;
    padding: 0 3px;
    border: 1px solid #e23a3a;
    margin-right: 3px;
    overflow: hidden;
    text-align: center;
    font-style: normal;
    font-size: 12px;
    font-family: "Helvetica Neue", "Hiragino Sans GB", SimSun, serif;
    border-radius: 2px;
    color: #e23a3a;
}

.plist-page {
    text-align: center;
    background-color: #F6F6F6;
}

.pages {
    display: inline-block;

    li {
        float: left;
        margin: 10px;
        padding: 10px;
        border: 1px solid red;
        cursor: pointer;

        span {
            display: inline-block;
            padding: 10px;
            margin: 0 10px;
            border: 1px solid red;
            cursor: pointer;
        }
    }

    .pageNum {
        border: none;
        padding: 0;
    }

    .curr {
        background: red;
        color: white;
    }
}